cgroup: Add kernel param to enable memory group
authorPhil Elwell <phil@raspberrypi.org>
Mon, 18 Sep 2017 11:01:46 +0000 (12:01 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:09:15 +0000 (01:09 +0000)
commit6ba190e3360655eccac9a28a947c6e6713485275
tree0da7089cd075f87ce4d95fb6aada01d240c403a7
parent5ef8c33f318cdb836ada3459c78bdd26ac769427
cgroup: Add kernel param to enable memory group

cgroup support is useful, but enabling the "memory" cgroup has a 32-byte
overhead per page. Arrange that "memory" cgroup is disabled by default
unless the "cgroup_memory" parameter is set to a true value.

See: https://github.com/raspberrypi/issues/1950

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
kernel/cgroup.c